cookies= \
    {'code': 1, 'msg': 'ok', 'data': {'flag': True, 'expirationTime': 46,
                                      'user': {'role': 'ROLE_AREA,ROLE_WINDOW', 'isInitialPassword': '0',
                                               'regionName': '贵州省', 'appCode': 'dgov-portal',
                                               'organName': '新进人员', 'regionCode': '520000', 'phone': '18198171062',
                                               'organCode': '52000020170216100530000507', 'expirationTime': 46,
                                               'name': '熊毅', 'id': '9E1059C9335D4C7CB8DC7400D03AECFB',
                                               'email': '123@qq.com', 'username': 'gys_xy', 'status': '1'},
                                      'token': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiLnhormr4UiLCJhdWQiOiI5RTEwNTlDOTMzNUQ0QzdDQjhEQzc0MDBEMDNBRUNGQiIsInNlcnZlciI6Imh0dHBzOi8vZ3ptaC56d2Z3Lmd1aXpob3UuZ292LmNuL2xvZ2luLyIsInJvbGUiOiJST0xFX0FSRUEsUk9MRV9XSU5ET1ciLCJpc0luaXRpYWxQYXNzd29yZCI6IjAiLCJyZWdpb25OYW1lIjoi6LS15bee55yBIiwiaW5kdXN0cnkiOm51bGwsImFwcENvZGUiOiJkZ292LXBvcnRhbCIsIm9yZ2FuTmFtZSI6IuaWsOi_m-S6uuWRmCIsInJlZ2lvbkNvZGUiOiI1MjAwMDAiLCJpbmR1c3RyeUxpc3QiOm51bGwsIm9yZ2FuQ29kZSI6IjUyMDAwMDIwMTcwMjE2MTAwNTMwMDAwNTA3IiwiZXhwaXJhdGlvblRpbWUiOjQ2LCJncmFkZSI6IjIiLCJzdGF0dXMiOiIxIiwiaXNzIjoiaW5zcHVyIiwiaWF0IjoxNzU4MjQ0MjQzLCJleHAiOjE3NTgyNzMwNDN9.5V4mmsQNpH7sa813v53-0gc-liazIqtANmnYRLt_TjS2pHW6v_rrfjceOh---h_5OTMiH0Z1IlG4WDu97QXvog',
                                      'refreshToken': 'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiLnhormr4UiLCJhdWQiOiI5RTEwNTlDOTMzNUQ0QzdDQjhEQzc0MDBEMDNBRUNGQiIsInNlcnZlciI6Imh0dHBzOi8vZ3ptaC56d2Z3Lmd1aXpob3UuZ292LmNuL2xvZ2luLyIsInJvbGUiOiJST0xFX0FSRUEsUk9MRV9XSU5ET1ciLCJpc0luaXRpYWxQYXNzd29yZCI6IjAiLCJyZWdpb25OYW1lIjoi6LS15bee55yBIiwiaW5kdXN0cnkiOm51bGwsImFwcENvZGUiOiJkZ292LXBvcnRhbCIsIm9yZ2FuTmFtZSI6IuaWsOi_m-S6uuWRmCIsInJlZ2lvbkNvZGUiOiI1MjAwMDAiLCJpbmR1c3RyeUxpc3QiOm51bGwsIm9yZ2FuQ29kZSI6IjUyMDAwMDIwMTcwMjE2MTAwNTMwMDAwNTA3IiwiZXhwaXJhdGlvblRpbWUiOjQ2LCJncmFkZSI6IjIiLCJzdGF0dXMiOiIxIiwiaXNzIjoiaW5zcHVyIiwianRpIjoiMzE4NWI5YjctMjJmYi00OTQ3LWI4ZDUtMTJlMThhMjdlOWYxIiwiaWF0IjoxNzU4MjQ0MjQzLCJleHAiOjE3NTgyNzQyNDN9.Vk5D0qkTIyyvecRq23UZ2kExP3dvzGjcRaUvluEbUTeJmUejlHA2ZtiSRg1DXYVtjIq8X-BtNgoyrAd67UAuYw'},
     'status': 200}

datas={}
from 登录子系统.受理登录过程.getWindowListByUserId import start
re1=start(**cookies)
datas.update(re1)
from 登录子系统.受理登录过程.demo01第一次重定向 import start
re2=start(**datas)
print(re2)
